package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Setter@Getter@ToString
@JsonIgnoreProperties(value = {"handler"})
public class Role extends BaseDomain{

    private String name;

    private String sn;

    //与权限多对多的关系
    private List<Permission> permissions = new ArrayList<>();
}
